package com.zy.mall.dao;

import com.zy.mall.entity.User;
import com.zy.mall.general.GeneralDAO;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDAO extends GeneralDAO<User> {

    // 用户注册
    public Integer insertUser(User user);

//    @Select("select user_id, user_name,user_pwd, user_realname, user_img from users where user_name=#{name}")
    public User queryUserByName(String name);

}
